//
//  ViewController.swift
//  构造函数
//
//  Created by Summer on 2017/11/14.
//  Copyright © 2017年 Summer. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let p = Person(dict: ["name":"马云","age":18])
        print("\(p.name)---\(p.age)")
        
    }



}

